1. /* simcvdec.cpp by K.Tsuru */
  2. // function ID = 416 BRADIX
  3. /**********************************************
  4. SInteger class's member
  5. It provides the BRADIX --> DRADIX conversion.
  6. The divide radix conversion is used.
  7. In special case it is equivalent to the binary splitting method.
  8. **********************************************/
  9. #ifndef SN_H
  10. #include "sn.h"
  11. #endif
  12. SLong SInteger::ConvToDec() const{
  13. // Head()+1 =< iNconvDecMaxFig : NConvToDec() is faster than DConvTodec()
  14. SLong result;
  15. if(Head()+1 <= iNconvDecMaxFig) result = NConvToDec();
  16. else result = DConvToDec();
  17. return result;
  18. }

simcvdec.cpp : last modifiled at 2016/09/04 14:21:42(616 bytes)
created at 2016/04/25 14:53:17
The creation time of this html file is 2017/10/25 11:09:45 (Wed Oct 25 11:09:45 2017).